from flask import Blueprint
from flask.json import jsonify
from flask_restful import Api,Resource

test=Blueprint('testdp',__name__)
api=Api(test)




class TestM(Resource):
    def get(self):
        msg='12312'
        return jsonify({'code':200,'msg':msg})





api.add_resource(TestM,'/test')



